package com.nidu.demo.i18n.dto;

import com.nidu.demo.base.BaseTenantCO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 国际化语言客户端对象
 *
 * @author auto
 */
@Data
@Builder
@Schema(description = "国际化语言客户端对象")
@EqualsAndHashCode(callSuper = true)
public class LanguageCO extends BaseTenantCO {

    @Schema(description = "语言", example = "zh")
    private String language;

    @Schema(description = "国家", example = "CN")
    private String country;

    @Schema(description = "语言名称", example = "中文 (中国)")
    private String displayName;

    @Schema(description = "语言", example = "zh-CN")
    private String locale;

}
